package com.webside.points.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.webside.points.model.ExpertEntity;
@Service
public interface ExpertService {
	
	public int insert(ExpertEntity expertEntity);
	
	public int delete(int id);
	
	public int updateStatus(Map<String,Integer> map);
	
	public int findCount();
	
	public List<ExpertEntity> findAll(ExpertEntity expertEntity);
	
	public int deleteBatch(List<Integer> ids);
	
	public ExpertEntity findById(int id);
	
	public int updatePraise(ExpertEntity expertEntity);
	
	public int updateAmount(ExpertEntity expertEntity);
	
	public List<ExpertEntity> findByExpertTypeId(String expertTypeId);
	
	public List<ExpertEntity> finaAllExpert(Map<String, Integer> map);
	
	public int updateTransactionId(ExpertEntity expertEntity);
	
	public ExpertEntity findByTransactionId(String id);
	
	public List<ExpertEntity> findAuditExpert(Map<String, Integer> map);
	
	public int update(ExpertEntity expertEntity);
	
}
